﻿using System.Collections.Generic;
using System.Linq;
using Ue.Infrastructure.DomainBase;
using Ue.Qcdz.Domain.Membership;
using Ue.Qcdz.Domain.SaleInfos;

namespace Ue.Qcdz.Domain.Shops
{
    public class Shop : EntityBase
    {
        public Shop(){}
        public Shop(object key) : base(key) { }

        public Shop(object key,User user) : base(key) {
            this.User = user;   
           
        }
        //
        public string Name { set; get; }
        public string LogoUrl { set; get; }
        public string Banner { set; get; }
        public string KeyWords { set; get; }
        public string Description { set; get; } 
        public string Remark { get; set; }
        public int IsTop { get; set; }
        public int Status { get; set; }
        public User User { set; get; }
        //
        public string Linkman { set; get; }
        public string CompanyAddress { set; get; }
        public string Postcode { set; get; }
        public string Telephone { set; get; }
        public string Mobilephone { set; get; }
        public string Fax { set; get; }
        public string Email { set; get; }
        public string MSN { set; get; }
        public string QQ { set; get; }
        public string SiteUrl { set; get; }

        //
        public string CompanyName { set; get; }
        public string RegisteredCapital { set; get; }
        public string LegalPerson { set; get; }
        public string Employees { set; get; }
        public string EstablishingTime { set; get; }
        public string CompanyProfiles { set; get; }

       

        /// <summary>
        /// 改变状态
        /// </summary>
        public void ChangeStatus()
        {
            this.Status = this.Status == 1 ? 0 : 1;
        }
        
    }
}
